import java.util.Arrays;

public class J1901 {
    public static void transfrom(int arr[]){
        for(int i=0;i<arr.length;i++){
            arr[i]=arr[i]*2;
        }
    }

    public static void main(String[] args) {
        int[] arr = {1, 2, 3};
        transfrom(arr);
        String ret = Arrays.toString(arr);
        System.out.println(ret);
    }
}
